package com.sp.invoker.client.serial;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectOutputStream;
import java.util.Date;

public class TestSerial {

	public static void main(String[] args) throws FileNotFoundException, IOException {
		ClassA a = new ClassA();
		a.setId(1);
		a.setName("hell");
		a.setDate(new Date());
		
		ObjectOutputStream oos = new ObjectOutputStream(new FileOutputStream("E:\\workspace8.5\\httpinvokerclient\\target\\a.tmp"));
		oos.writeObject(a);
		
	}
	
}
